/*
 * @Author: byron
 * @Date: 2022-01-18 22:57:51
 * @LastEditTime: 2022-01-18 22:59:38
 */
import debounce from './debounce'
import throttle from './throttle'
const directives = {
    debounce,
    throttle
}

export default {
    install(Vue) {
        Object.keys(directives).forEach((key) => {
            Vue.directive(key, directives[key])
        })
    },
}